package com.cheetah.start.common.utils;

/**
 * @author xjh
 * @create 2021/5/16
 **/
public class MySystemUtil {

    /**
     * 判断系统
     *
     * @return boolean true == win false == linux
     * @date 2021/4/23 14:40
     */
    public static boolean isWin() {
        String os = System.getProperty("os.name");
        return os.toLowerCase().startsWith("win");
    }
}
